#!/usr/bin/python3
dict = {}
dict["one"] ="value one"
dict[2] = 22

print(dict)
print(dict.keys())
print(dict.values())

tinydict = {"k1":"v1",1:2}
print(tinydict)
print(tinydict[1])
print(tinydict[3]) # 如果值不存在报错


